home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6721 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.unt.edu!news
  2. From: Steve Fogoros <sfogoros@hsc.unt.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: 6 byte real to double; How?
  5. Date: Mon, 19 Feb 1996 00:10:18 -0800
  6. Organization: University of North Texas Health Science Center
  7. Message-ID: <3128306A.21F@hsc.unt.edu>
  8. NNTP-Posting-Host: sfogoros.hsc.unt.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (Win16; I)
  13.  
  14. I have a lot of data files that were created by a pascal program. The 
  15. data is stored as 'file of real' meaning that each floating point value 
  16. is stored in six bytes. I need to access this data from a c program 
  17. (borland). I would like any assistance you could provide. I guess what 
  18. I need is a canned function that would take a 6 byte string (actually the 
  19. real), and return a double.
  20.  
  21. I wrote a conversion routine in c but I suspect errors. If you would like 
  22. to review my conversion routine, please e-mail me.
  23. -- 
  24. Steve Fogoros, Academic Information Coordinator
  25. University of North Texas Health Science Center
  26. 3500 Camp Bowie Boulevard, Fort Worth, Texas 76107-2699
  27. (817)-735-2162 sfogoros@hsc.unt.edu
  28.